#include<stdio.h>
int add(int from,int to)
{
    int sum = 0;
    for(int i = from;i<to;i++)
    {
        sum +=i;
    }
    int x = 10;
    return sum;
}
void print(int sum)
{
    printf("%d",sum);
}
int main()
{
    int sum = add(1,100);
    printf("%d",sum);
    printf("%d",sum);
    printf("%d",sum);
    printf("%d",sum);
    printf("%d",sum);
    printf("%d",sum);
    print(sum);
    return 0;
}
